<script setup lang="ts">
const gameTitle = '云·原神'
const age = 18
const name = '旅行者'
class User {

}
</script>
<template>
  <a class='title' href="#">{{ gameTitle }}</a>
  <div>由{{ age >= 18 ? "年纪合适" : "年纪小" }}的{{ name }}发起</div>
</template>
<style scoped>
.title {
  text-decoration: none;
  font-size: 50px;
  color: sandybrown;
}
</style>